//覆盖一些element-ui样式

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
  color: #606266;

  &:hover {
    color: #409EFF;
  }
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }

  &:hover {
    border-color: #409EFF;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
    transition: all 0.3s;

    &:hover {
      transform: translateY(-2px);
    }
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

@media (max-width: 768px) {
  .el-dialog {
    width: 95vw !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  .el-form-item__label,
  .el-form-item__content {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .el-upload {
    font-size: 14px;
  }

  .el-upload__tip {
    font-size: 12px;
  }

  .el-table {
    font-size: 13px;
  }
}